package org.example.netty.test.nio.bean;

import lombok.Data;

import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.util.Date;

/**
 * @author zp
 * @version 1.0
 * @description: 连接用户
 * @date 2023/2/28 20:24
 */
@Data
public class User {
    private String userName;
    private String id;
    private Date upDate;
    private Date downDate;
    private String message;
    private ByteBuffer buffer;
    private InetSocketAddress address;
    private int messageLength;
    private int bufferSize = 16;
}
